package com.marktotop;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableTransactionManagement  //开启事务管理
/*注意：MapperScan的包导入的是 tk.mybatis.spring.annotation.MapperScan; */
@MapperScan("com.marktotop.system.mapper")
public class MarkBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(MarkBootApplication.class,args);
    }
}
